
public class Node {
	private double val; 
	private char opt;
	public Node(double val, char opt){
		this.val=val;
		this.opt=opt;
	}
	public double getValue(){
		return val;
	}
	public void setValue(double val){
		this.val = val;
	}
	public char getOpt(){
		return opt;
	}
	public void setOpt(char opt){
		this.opt = opt;
	}
	public void setParameter(double val,char opt){
		this.val = val;
		this.opt = opt;
	}
}
